using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration.Provider;

namespace Subkismet.Services.GoogleSafeBrowsing.Provider
{
    /// <summary>
    /// Base provider class for storage system.
    /// </summary>
    public abstract class GoogleSafeBrowsingProviderBase : ProviderBase
    {
        public abstract void AddKey(string key, BlackListType listType);

        public abstract void RemoveKey(string key, BlackListType listType);

        public abstract void AddKeys(List<Key> keys, BlackListType listType);

        public abstract List<string> GetKeys(BlackListType listType);

        public abstract string GetLatestVersion(BlackListType listType);

        public abstract void UpdateVersion(string updateVersion, BlackListType listType);

        public abstract void Clear(BlackListType listType);
    }
}
